projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf1c7a
)
(describe-variable): Check custom-loads property as well as custom-type.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 8 Apr 1999 16:46:15 +0000
(16:46 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 8 Apr 1999 16:46:15 +0000
(16:46 +0000)
lisp/help.el
patch
|
blob
|
history
diff --git
a/lisp/help.el
b/lisp/help.el
index df28f62d1020935ccd54eb7c3bf9327f589fc135..5214d6fda94908e15a36d423ed3e019825717d12 100644
(file)
--- a/
lisp/help.el
+++ b/
lisp/help.el
@@
-766,7
+766,9
@@
Returns the documentation as a string, also."
;; Note, it is not reliable to test only for a custom-type property
;; because those are only present after the var's definition
;; has been loaded.
- (if (or (user-variable-p variable) (get variable 'custom-type))
+ (if (or (user-variable-p variable)
+ (get variable 'custom-loads)
+ (get variable 'custom-type))
(let ((customize-label "customize"))
(terpri)
(terpri)